home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3winprp.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  55 lines

  1.  
  2. // JavaScript wrapper for r3winprp.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_WINPRP_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_WINPROP = 91;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Add gadget for viewing canvas specific options. When the user makes a canvas the
  16. //      current rendering canvas, the corresponding gadget is shown in the view property window allowing the
  17. //      user to access canvas specific options.
  18. // Returns: Boolean, TRUE if succeeded.
  19. // p1: Integer, class id of the canvas
  20. // p2: Integer, class id of the canvas model
  21. // p3: Integer, class id of the canvas gadget
  22.  
  23. R3WINPROPCM_ADDCANVASGADGET = 91018;
  24.  
  25. function mR3WINPROPCM_ADDCANVASGADGET(p1, p2, p3) {
  26.   return   DoA3(this.r3obj, 91018, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  27. }
  28.  
  29. // Virtual method
  30.  
  31. R3WINPROPM_UPDATEWHENIDLE = 91029;
  32.  
  33. function mR3WINPROPM_UPDATEWHENIDLE() {
  34.   DoA(this.r3obj, 91029, 0, R3TID_INTEGER, 0);
  35. }
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42. function r3Winprop () { 
  43.    this.base = r3God;
  44.    if(arguments.length) {
  45.       this.base(R3CLID_WINPROP, arguments);
  46.    }
  47.    // Methods
  48.    this.ADDCANVASGADGET=mR3WINPROPCM_ADDCANVASGADGET;
  49.    this.UPDATEWHENIDLE=mR3WINPROPM_UPDATEWHENIDLE;
  50.  
  51.    // Attributes
  52. }
  53.  
  54. r3Winprop.prototype=new r3Window;
  55. // r3winprp.h_H